import { FC } from "react"

import { SFormItem } from "@/components/common"
import StyleSelect from "@/components/common/styleSelect"
import { useLocale } from "@/locales"

const DataAreaTypeSelect: FC = () => {
	const { formatMessage } = useLocale()
	//统计日期
	//全量数据
	const options = [
		{ label: formatMessage({ id: "report.data_area_type1" }), value: 1 },
		{ label: formatMessage({ id: "report.data_area_type0" }), value: 0 }
	]

	return (
		<SFormItem name="dataAreaType">
			<StyleSelect defaultValue={options[0].value} options={options} style={{ width: "150px" }} />
		</SFormItem>
	)
}

export default DataAreaTypeSelect
